package com.qf.spring2202.springfactory.dao.impl;

import com.qf.spring2202.springfactory.dao.UserDao;
import com.qf.spring2202.springfactory.entity.User;

public class UserDaoImpl implements UserDao {
    @Override
    public User getUserById(Integer id) {
        System.out.println("调用UserDaoImpl的方法getUserById。。。。");
        final User user = new User();
        user.setId(id);
//        user.setName("luffy");
        user.setAge(20);
        return user;
    }
}
